#pragma once
#include <log4cpp/Category.hh>
#include <cos_api.h>
#include "accessKeyRes.h"

class CosClient
{
public:
	CosClient();
	~CosClient();
	bool getObject(const char* key, const Char* filePath, volatile bool& stop);
private:
	qcloud_cos::CosAPI init();
	bool enabled();
private:
	static log4cpp::Category& logger;
};

